<%@ page language="java" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="zh-cn" class="no-js">
<!--<![endif]-->
<head>
<style type="text/css">
	#bgMaster
	    {
	        display:none;    
	        position:fixed;    
	        _position:absolute;   
	        height:100%;    
	        width:100%;    
	        top:0;    
	        left:0;    
	        background:#000000;    
	        border:1px solid #cecece;    
	        z-index:100;    
	    }    
</style>
<jsp:include page="../common/common.jsp" />
<link rel="stylesheet" type="text/css"
	href="${path}/assets/plugins/select2/select2.css" />
<link rel="stylesheet" type="text/css"
	href="${path}/assets/plugins/select2/select2-metronic.css" />
</head>


<body class="page-header-fixed">
	<script type="text/javascript" src="${path }/layer/layer.js"></script>
	<!-- BEGIN HEADER -->
	<jsp:include page="../common/header.jsp" />
	<div class="clearfix"></div>
	<!-- BEGIN CONTAINER -->
	<div class="page-container">
		<div class="page-sidebar-wrapper"><jsp:include
				page="../common/menu.jsp" /></div>
		<div class="page-content-wrapper">
			<div class="page-content">
				<!-- BEGIN PAGE CONTENT-->
				<div class="row">
					<div class="col-md-12">
						<!-- BEGIN EXAMPLE TABLE PORTLET-->
						<div class="portlet box purple">
							<div class="portlet-title">
								<div class="caption">
									<i class="fa fa-file-text-o"></i> 直播间列表
								</div>
								<%-- <div class="tools">
									<c:if test="${iTotalRecords<1}"><div id="actions" class="actions">
										<a href="${path}/watchUser/edit" class="btn green"><i
											class="fa fa-plus">创建直播间</i></a></c:if>
									</div>
								</div>--%>
								
							<!-- 	 <div class="tools">
										<a href="#" class="btn green"   onclick="opendic()"><i
											class="fa fa-plus"> 导入用户 </i></a>
									</div> -->
							</div>
							<div class="portlet-body">
								<form id="formQuery" class="form-horizontal"
									action="${path}/watchUser/list">
									<div class="form-body">
										<div class="form-group">
											<label class="col-md-1 control-label">名称</label>
											<div class="col-md-2">
												<input type="text" id="userNickName" name="userNickName"
													class="form-control" />
											</div>
												<button type="button" class="btn green"
													onclick="getwatchUserList()">查询</button>
											</div>
										
									</div>
								</form>
								<table class="table table-striped table-bordered table-hover"id="watchUserList"></table>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

	</div>
	
	<!-- ************遮罩层************** -->     
	<div id="dbajax-modal" class="modal fade bs-modal-lg" tabindex="-1" role="dialog"
                                 data-keyboard="false"  style="margin-top: 230px;width: 760px;margin-left: 450px">
                               
                     
                           
                                  <!--       <div class="modal-header">
                                            <button type="button" class="close" data-dismiss="modal"></button>
                                            <h4 class="modal-title">详细信息</h4>
                                        </div> -->
                                        <div class="modal-body" >
                                            <div class="row">
                                                <div class="col-md-8">
                                                    <div class="portlet box purple ">
                                                        <div class="portlet-title">
                                                            <div class="caption">
                                                                <i class="fa fa-reorder" ></i> 基本信息
                                                                <a class='delete2' href='#'  data-dismiss="modal">&times;</a>
                                                   
                                                            </div>
                                                        </div>
                                                        <div class="portlet-body form">
                                                            <form id="formDetail" class="form-horizontal">
                                                                <div class="form-body">
                                                                     <div class="form-group">
                                                                        <label class="col-md-3 control-label">生成数量：</label>

                                                                        <div class="col-md-8">
                                                                            <input type="text" id="sl"
                                                                                   name="sl"
                                                                                   class="form-control"   style="width: 40%;float: left;"/>
                                                                               
                                                               	 <button type="button" class="btn btn-primary"   style="float:right; " onclick="addmiyao()">确定</button>
                                                                        </div>
                                                                   </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            
                                            </div>
                                        </div>
                                       <!--   <div class="modal-footer">
                                            <button type="button" class="btn default" data-dismiss="modal">关闭</button>
                                        </div>-->
                                    </div>
	<jsp:include page="../common/footer.jsp" />
<script type="text/javascript" src="${path}/assets/plugins/select2/select2.min.js"></script>
<script type="text/javascript" src="${path}/watchUseRobot/js/watchUserRobot.js"></script>
<script type="text/javascript"
		src="${path}/assets/plugins/calendar/WdatePicker.js"></script>
<script>
var msg = '${msg}';
$(function() {
	if (msg)
		App.bubble(200, msg);
	getwatchUserList();
});

function opendic(){
	$('#dbajax-modal').modal('show');
}
</script>
</body>
<!-- END BODY -->
</html>